/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-02
 * Time: 10:40
 */

/*class HasStatic {// 1
    private static int x = 100;// 2

    public static void main(String args[]) {// 3
        HasStatic hsl = new HasStatic();// 4
        hsl.x++;// 5
        HasStatic hs2 = new HasStatic();// 6
        hs2.x++;// 7
        hsl = new HasStatic();// 8
        hsl.x++;// 9
        HasStatic.x--;// 10
        System.out.println(" x=" + x);// 11
    }
}*/
class A{
    public int a;
    public int b;
    public int c;
}

class B extends A{
    public int d;
}

class C extends B{
    public int e;
}

public class Test {
    public static void main(String[] args) {
        A a0 = new A();
        A a1 = new B();
        A a2 = new C();
    }

    /*private float f=1.0f;

    int m=12;

    static int n=1;

    public static void main3(String args[]){

        Test t=new Test();
        t.f = 3.0f;

    }*/

   /* public String toString() {
        System.out.print("aaa");
        return "bbb";
    }*/

    /*public static void main2(String[] args) {
        Test test = new Test();
        System.out.println(test);
    }*/

    /*public static void main1(String[] args) {
        String s;//尚未初始化
        System.out.println("s=" + s);
    }*/

}
